SOURCES = main.c
#SOURCES = datastream_update.c #MNC8cY50oQDZ6ObQ8vdbmmOg01il4KwDWqhaArCURXh8NTAk 1989666334 led 77
#SOURCES += $(wildcard libxively/*.c) #add Library Sources
OBJECTS = $(SOURCES:.c=.o)
CFLAGS = -O2 -std=gnu99 -Iinclude -fstrict-aliasing

all: $(OBJECTS) 
#	gcc -o result $(OBJECTS)
	gcc -o result $(OBJECTS) -lwiringPi -lpthread

clean:
	rm -f result $(OBJECTS)